package com.wen.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author xie
 */
@Data
@TableName("product")
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private String picture;

    @TableField("mainPictures")
    private String mainpictures;

    private Integer typeId;

    @TableField("brandId")
    private Integer brandid;

    @TableField("`desc`")
    private String desc;

    private Float price;

    @TableField("oldPrice")
    private Float oldprice;

    private Float discount;

    private String inventory;

    @TableField("orderNum")
    private Integer ordernum;

    private String unit;

    private Integer onOff;

    @TableField("STATUS")
    private String status;


}
